package com.tony.mindhr.mapper;

import com.tony.mindhr.model.AdjustSalary;

/**
 * Created with IntelliJ IDEA.
 *
 * @Title: AdjustSalaryMapper
 * @Auther: 皮蛋布丁
 * @Date: 2021/04/19/14:00
 * @Description:
 */
public interface AdjustSalaryMapper {

    /**
    * @Description: deleteByPrimaryKey 根据id删除薪资调整表数据
    * @Param: [id]
    * @return: int
    * @Author: 皮蛋布丁
    */
    int deleteByPrimaryKey(Integer id);

    /**
    * @Description: insert 新增薪资调整数据
    * @Param: [record]
    * @return: int
    * @Author: 皮蛋布丁
    */
    int insert(AdjustSalary record);

    /**
    * @Description: insertSelective 有选择性的新增薪资调整数据
    * @Param: [record]
    * @return: int
    * @Author: 皮蛋布丁
    */
    int insertSelective(AdjustSalary record);

    /**
    * @Description: selectByPrimaryKey 根据id获取薪资调整表数据
    * @Param: [id]
    * @return: com.tony.mindhr.model.AdjustSalary
    * @Author: 皮蛋布丁
    */
    AdjustSalary selectByPrimaryKey(Integer id);

    /**
    * @Description: updateByPrimaryKeySelective 根据id有选择性的更新薪资调整数据
    * @Param: [record]
    * @return: int
    * @Author: 皮蛋布丁
    */
    int updateByPrimaryKeySelective(AdjustSalary record);

    /**
    * @Description: updateByPrimaryKey 根据id更新薪资调整表数据
    * @Param: [record]
    * @return: int
    * @Author: 皮蛋布丁
    */
    int updateByPrimaryKey(AdjustSalary record);
}
